import request from '@/utils/request'
//租赁结算单记录列表
export function getFinalStatementListApi(query){
  return request({
    url:'/module/statement/list',
    method:"GET",
    params:query
  })
}
//获取租赁结算单详情
export function getFinalStatementInfoApi(id) {
  return request({
    url:'/module/statement/'+id,
    method:"get",

  })
}
//新增租赁结算单订单
export  function addFinalStatementApi(data){
  return request({
    url:'/module/statement',
    method:'POST',
    data,
  })
}
//修改租赁结算单订单
export function  editFinalStatementApi(data){
  return request({
    url:'/module/statement',
    method:'put',
    data,
  })
}

//删除租赁结算单
export function  delFinalStatementApi(id){
  return request({
    url:'/module/statement/'+id,
    method:"delete"
  })
}
